package com.mall.bargain.mapper;

import com.mall.bargain.vo.VoTbGoods;
import com.mall.bargain.vo.VoTbImage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @date 2021/7/20 15:06
 * @author Administrator
 */
@Mapper
public interface GoodsMapper {
    /**
     * 查询商品表
     * @param goods
     * @return List<VoTbGoods>
     */
    List<VoTbGoods> findGoodsAll(VoTbGoods goods);

    /**
     * 回显图片
     * @param id
     * @return VoTbImage
     */
    VoTbImage findImage(Long id);
}